package com.atguigu.gulimall.auth.test;

import org.apache.commons.lang.RandomStringUtils;

public class fefef {
    public static void main(String[] args) {
        String code = RandomStringUtils.randomNumeric(5) +System.currentTimeMillis();
        System.out.println(code);
        String substring = code.substring(0,5);
        System.out.println(substring);
    }
}
